<template>
  <div class="order-set">
    <van-nav-bar title="订单结算" left-arrow @click-left="goBack" />
    <div class="order-set-detail">
      <order-set-top />
      <order-set-pro />
      <order-set-double-fine />
      <order-set-coupons />
      <order-set-pay />
      <order-set-remarks />
    </div>
    <div class="order-set-footer">
      <div>待支付<span class="order-total">￥28.00</span></div>
      <button>付款</button>
    </div>
  </div>
</template>

<script>
import OrderSetCoupons from "../components/OrderSetCoupons.vue";
import OrderSetDoubleFine from "../components/OrderSetDoubleFine.vue";
import OrderSetPay from "../components/OrderSetPay.vue";
import OrderSetPro from "../components/OrderSetPro.vue";
import OrderSetRemarks from "../components/OrderSetRemarks.vue";
import OrderSetTop from "../components/OrderSetTop.vue";
export default {
  components: {
    OrderSetTop,
    OrderSetPro,
    OrderSetDoubleFine,
    OrderSetRemarks,
    OrderSetCoupons,
    OrderSetPay,
  },
  methods: {
    goBack() {
      history.go(-1);
    },
  },
};
</script>

<style scoped>
.order-set {
  width: 100%;
}
.order-set-detail {
  position: fixed;
  top: 13vw;
  left: 0;
  right: 0;
  bottom: 18vw;
  overflow: auto;
}
.order-set-footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  background-color: white;
  height: 18vw;
  box-shadow: 1vw 1vw 3 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 5vw;
  box-sizing: border-box;
}
.order-set-footer > div {
  font-size: 4vw;
}
.order-set-footer > div > .order-total {
  font-size: 5vw;
  font-weight: bold;
}
.order-set-footer > button {
  height: 100%;
  width: 30vw;
  line-height: 18vw;
  border: none;
  background-color: #a7d500;
}
</style>